package org.nobody.mallb2c.mallproduct.feign;

import org.nobody.common.to.SkuHasStockVo;
import org.nobody.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author 3489309323@qq.com
 * @create 2020-09-02-20:28
 */
@FeignClient("mall-ware")
public interface WareFeignService {
  @PostMapping("/mallware/waresku/hasstock")
  public R getSkusHasStock(@RequestBody List<Long> skuIds);
}
